	<div class="sidebar">
	
	<ul>
	
	<li><h2>Search</h2>
	<?php include (TEMPLATEPATH . '/searchform.php'); ?>
	</li>

	<?php if ( function_exists('dynamic_sidebar') && dynamic_sidebar() ) : else : ?>
	<?php wp_list_pages('title_li=<h2>Pages</h2>' ); ?>
		
	<li><h2>Archives</h2>
		<ul>
		<?php wp_get_archives('type=monthly'); ?>
		</ul>
	</li>

		<?php wp_list_categories('optioncount=1&title_li=<h2>Categories</h2>'); ?>

	</li>

	<?php get_links_list(); ?>
	
	<li><h2>Meta</h2>
		<ul>
		<?php wp_register(); ?>
		<li><?php wp_loginout(); ?></li>
		<li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
		<li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
		<li><a href="http://bloggles.info/" title="Powered by Blogates, state-of-the-art semantic personal publishing platform.">Bloggles</a></li>
		<?php wp_meta(); ?>
		</ul>
	</li>
	<?php endif; ?>
	</ul>
	
	</div>